#ifndef BALLE
#define BALLE
#include <SFML/Graphics.hpp>

using namespace sf;

class Balle{
    private:
        int x;
        int y;
        float speed;
        int directionVerticale;
        int directionHorizontale;
        RectangleShape *shape;

    public:
        Balle();
        void move();
        int getX();
        int getY();
        void setX(int x);
        void setY(int y);
        float getSpeed();
        int getDirectionVerticale();
        int getDirectionHorizontale();
        void setDirectionVerticale(int dir);
        void setDirectionHorizontale(int dir);
        void changeDirectionHorizontale();
        void changeDirectionVerticale();
        int checkCollision();
        RectangleShape* getShape();
        void update();
        void setSpeed(float speed);
        void accelerer(float acceleration);

};
#endif
